home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Night Owl 6
/
Night Owl's Shareware - PDSI-006 - Night Owl Corp (1990).iso
/
020a
/
ansims10.zip
/
ANSIMS.DOC
next >
Wrap
Text File
|
1991-03-01
|
12KB
|
222 lines
ANSI Mouse
by Alan Deala
PROGRAM REQUIREMENTS
This program requires: An IBM compatible computer
A Microsoft compatible mouse
At least 128K of free memory
I have tested this program on CGA & Super-VGA monitors with no problems.
It may also work on a monochrome monitor, but I have no way of knowing that
for sure.
PROGRAM FUNCTIONS
Once you pass the opening credits screen, you will see the drawing
workspace with a menu-bar on the top line.
The Drawing Workspace:
---------------------
The drawing workspace occupies rows 2 through 25 and columns 1 through
79 on your screen. By moving the mouse, you move the drawing cursor around
the screen. Pressing the left mouse button will draw the current character
(displayed on the right side of the menu-bar) in the current color (also
displayed on the far right of the menu-bar) at the spot under the drawing
cursor. Pressing the right mouse button will erase (draw a blank space)
the spot under the drawing cursor in the default color (also show at the
top of the screen on the menu-bar).
By pressing a mouse button on the top line, you can activate the menu-
bar.
The Menu-Bar:
------------
By 'clicking' on the top line, you activate the menu-bar. You can
also activate the menu-bar by typing the first letter of the desired
option (ie. hitting the 'F' key on the keyboard will bring up the 'File'
menu). Once the menu-bar is activated, you can perform these menu functions.
The File Menu=
Load: Clicking on this choice will bring up a window
displaying the current directory. You can use
the keyboard arrows or mouse to manuever around
the list of files. By clicking on a file (or by
hitting the return key) you can load that file
into the drawing workspace. You can also display
a different sub-directory by clicking on its
name.
Save: You can save the current contents of the drawing
workspace by choosing this option. You will need
to supply a file name to save it under (including
the file extension). You will be given the option
of saving the screen as an ANSI screen a 77 column
ANSI screen or a Normal screen. Saving it as an
ANSI screen will include all the necessary ANSI
codes for color & positioning. Saving it as a 77
column ANSI screen will keep all the characters &
ANSI codes within the first 77 columns (useful for
offline mail readers, for example). Saving it as
normal will exclude all the special ANSI codes from
the drawing. The drawing will be DISPLAYED (via
the TYPE command) as a 79 column x 24 row text
file/ANSI picture in any case.
New: This command will clear the drawing workspace in
the default color.
Quit: This option will exit you from the program (if
changes have been made to the drawing since you
last saved it, ANSI mouse will verify that you
wish to exit without saving the changes).
The Color Menu=
Set Current: By choosing this, you can specify the
'Current' color. This is the color you
draw in when you press the Left mouse button.
Use the mouse or keyboard arrow keys to move
around the color selection menu and click
on the left mouse button (or hit Enter) to
choose the color you want. Or hit the right
mouse button (or hit the space bar) to
cancel your selection.
Set Default: This function works the same as the Set
Current function. The only difference is that
you are choosing the 'default' color instead.
The default color determines which color will
be used for for clearing the screen (the New
function under the File menu) and for erasing
a space using the right mouse button in the
drawing workspace. It also determines the
Wash color (see below).
Wash: By choosing the wash function, you can change
the color of a space on the drawing workspace
without changing the actual character in that
space. By choosing the Wash function and then
re-entering the drawing workspace, you will
notice that your drawing cursor is now diamond
shaped (this is to remind you that you are in
Wash mode and not normal drawing mode). While
you are in Wash mode, you press the left mouse
button to change the color of the space under
the drawing cursor from the Default color to
the Current color (if the space under the
cursor is not in the Default color, nothing
will happen). The right mouse button will
change the spot under the Wash cursor from
the Current color to the Default color.
The Symbol Menu=
By choosing this option, you can change the current
symbol. You can use the keyboard or mouse to move
around the symbol selection menu. Click on the left
mouse button (or hit the Return key) to select a new
symbol or click on the right mouse button (or hit the
space bar) to cancel your selection.
The Block Menu=
This is the menu area where you can make changes on
large areas of the screen. You will be asked to define
the Block area by clicking on the upper left corner
and lower right corner of the area. This area can be
as small as a single square or as big as the entire
drawing workspace. The block area boundary will then
be drawn as a box (even though the symbols on the outside
edge of the block are covered by the box, they are still
there. They are just temporarily covered by the lines of
the box).
Copy: You will be asked to define the block area and then
you will have to point to the upper left corner
of the area you want the block copied to. A new box
will be drawn showing you exactly where the block
copy will end up. Hit the left mouse button (or the
Enter key) to accept this location. Hit the right
mouse button (or the Esc key) to choose a different
location for the block. The copy function leaves the
old block where it was and writes a copy of the block
into the new location. The new copy will overwrite
anything that happens to be underneath it (including
the original block, if it happens to be in the way!)
Move: The move functions similar to the copy. The
difference is that a copy of the block will NOT be
left at the original location. It also overwrites
anything that it is moved on top of. (The spot that
the block is moved from will be 'erased' in the
default color).
Delete: This will erase the area under the block in the
Default color.
Wash: The block Wash will replace all occurences of the
Default color in the block area with the Current
color. The symbols will remain unchanged. Only
the color will change. Colors within the block that
do not match the Default color will be unaffected.
The Text Menu=
This is the option that allows you to add lines of text
anywhere in the drawing workspace. When you choose this
option, the drawing cursor will change to a text location
cursor (a small 'face' symbol). Move this cursor to the
point where you want to start you text and click the left
mouse button (hit the right mouse button to cancel the
Text function). The cursor will change to a blinking text
cursor to show that you are in the text editing mode.
You may now type your text in and move around the screen
using the arrow keys. Hitting return will move the cursor
down a line and line you up with the spot where your text
started. You can click on the left mouse button to get
your text location cursor back (and move to another part
of the drawing workspace to do more text entry) or
click on the right mouse button to return to normal
drawing mode (your cursor will change back to the normal
non-blinking cursor).
----------------------------------------------------------------------------
This program was written using Turbo Pascal 5.5 and the Technojock Turbo
Toolkit 5.0
This software may be freely copied & distributed under the following
conditions:
1) No money (other than to cover the cost of copying and/or
shipping, $5 max) may be charged for this program.
2) This program may not be altered without permission of
the author.
3) This document and all the above listed files must
distributed together.
This product is provided "as is" without any warranty. By using this
program you agree to assume full responsibilty for any damage or loss
caused directly or indirectly through the use of this program.
I do not require you to send me any money to register this program.
However, if you would like a copy of the source code, please send $15
to me at the address below and I will send you a disk with the source code
and copies of some other programs I have written. Please specify
3.5", 5.25" HD, or 5.25" DD.
If you have any questions or suggestions for improvements, please
contact me at:
Hackney's Hideaway
(916) 961-1042
or through one of the echoed Pascal conferences (such as InterLink,
Smartnet, etc.)
Or write me at:
1795 Urbana Way
Sacramento, CA 95833